<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="com.hr.pojo.Position"%>
        
        <div class="row">
          <div class="col-lg-12">
            <div class="card">
              <ul class="nav nav-tabs page-tabs">
                <li class="active"> <a href="main.jsp?method=indexUpload&servlet=UploadServlet">文件上传</a> </li>
                <li> <a href="main.jsp?method=listUpload&servlet=UploadServlet">上传文件查看</a> </li>
              </ul>
              <div class="tab-content">
                <div class="tab-pane active">
                  
                  <form action="UploadServlet?method=upload" method="post" name="edit-form" class="edit-form" enctype="multipart/form-data">
                    <div class="form-group">
                      <label for="name">文件：</label>
                        <div class="input-group">
                        <input type="text" class="form-control" name="web_uploadFile" id="web_uploadFile" value="/upload" />
                        <div class="input-group-btn"><button class="btn btn-default" type="button" onclick="document.getElementById('uploadFile').click();">上传文件</button></div>
                         <input type="file"  name="uploadFile" id="uploadFile" style="display:none;" accept="image/x-png,image/gif,image/jpeg"/>
                      </div>
                    </div>
                     <div class="form-group">
                      <label for="age">文件名称：</label>
                      <input class="form-control" type="text" id="fileName" name="fileName" value="" placeholder="请输入文件名称" >
                    </div>
                    <div class="form-group">
                      <label for="content">文件简介：</label>
                      <textarea class="form-control" id="fileContent" rows="5" name="fileContent" placeholder="请输入文件简介" ></textarea>
                    </div>
                    <div class="form-group">
                      <button type="submit" class="btn btn-primary m-r-5">确 定</button>
                      <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
                    </div>
                  </form>
                  
                </div>
              </div>

            </div>
          </div>
          
        </div>
        

